﻿<!DOCTYPE html>
<html>
<head>
   <title>Phase Firmware Upgrade Procedure</title>
   <meta name="generator" content="Help & Manual">
   <meta name="keywords" content="">
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   <link type="text/css" href="default.css" rel="stylesheet">
   <link type="text/css" href="custom.css" rel="stylesheet">
   <script type="text/javascript" src="nsh.js"></script>
   
<!-- non-scrolling headers for CHM and browser-based help, local styles-->
<style TYPE="text/css" media="screen"> 
   <!-- 
   body {    
      margin:0; 
      padding:0; 
      overflow: auto; 
      background: #edede9; 
   } 
   #idheader { 
      width:100%; 
      height:auto; 
      padding: 0; 
      margin: 0;     
} 
    #idheaderbg  {
    background: #E40A00; 
}
#idheadernowrap  {
    white-space:nowrap; 
}
    ul {list-style-type: lower-roman}
   -->
   </style>
   
<style TYPE="text/css" MEDIA="print">
<!--
/* Hide navigation links and add space between header
     and text in the printed version. Not valid for eBooks. */
#idnav { display:none;	 }
.topichead { padding: 5px 5px 20px 5px; }
-->
</style>   
   <script type="text/javascript" src="jquery.js"></script>
   <script type="text/javascript" src="helpman_settings.js"></script>
   <script type="text/javascript" src="helpman_topicinit.js"></script>

   <script type="text/javascript">
     HMSyncTOC("index.html", "drvsim_upgrade_procedure.htm");
   </script>
   <script type="text/javascript" src="highlight.js"></script>
   <script type="text/javascript">
     $(document).ready(function(){highlight();});
   </script>
</head>
<body>

<!--ZOOMSTOP-->

<div id="idheader" >
<div id="idheaderbg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" 
       style="margin: 0px; color: #D7D7D7;">

  <tr valign="middle">
    <td align="left" valign="middle" class="topichead">
    <!--<div id="idheadernowrap">-->
    <p class="crumbs" id="idnav"><b>Navigation:</b>&nbsp;
   
   <a href="drvsim_rn_release_notes.htm">Release Notes</a> &gt; Upgrade Procedure&nbsp;&gt;</p>
      <h1 class="p_Heading1" style="page-break-after: avoid;"><span class="f_Heading1">Phase Firmware Upgrade Procedure</span></h1>

    <!--</div>-->
    </td>
    <td align="right" width="180" valign="middle" class="topichead" id="idnav">
    <div id="idheadernowrap">
    <a href="javascript: print();"
    		onmouseover="document.images.prntr.src='print_a.png'" 
        onmouseout="document.images.prntr.src='print_n.png'"
        ><img name="prntr" border="0" alt="Print this Topic" title="Print this Topic" src="print_n.png"
        ></a>&nbsp;&nbsp;
     <a href="drvsim_rn_platform_support.htm"
        onmouseover="document.images.prev.src='back_a.png'" 
        onmouseout="document.images.prev.src='back_n.png'"
        ><img name=prev src="back_n.png" border=0 alt="Previous page"
        ></a><a href="drvsim_rn_release_notes.htm"
        onmouseover="document.images.main.src='top_a.png'" 
        onmouseout="document.images.main.src='top_n.png'"><img name=main src="top_n.png" border=0 alt="Return to chapter overview"
        ></a><a href="drvsim_rn_kollmorgen-firmware-upgrade-pr.htm"
        onmouseover="document.images.next.src='next_a.png'" 
        onmouseout="document.images.next.src='next_n.png'"><img name=next src="next_n.png" border=0 alt="Next page"
        ></a>
    </div>
    </td>
  </tr>
</table>
</div>

<!-- The following code displays Expand All/Collapse All links  below the header in topics containing toggles -->
  

</div>  



<div id="idcontent"><div id="innerdiv"> 
<!--ZOOMRESTART-->
<p class="p_Normal">This paragraph explains the procedure for upgrading the firmware of the motor drive to the latest version. </p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight: bold;">NOTE. </span><span style="text-decoration: underline;">The same process has to be applied to motor drive used for electric active belts</span>.</p>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span class="f_Heading2">Preliminary Operations:</span></h2>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">1.</span>Stop any VI-DriveSim simulation that is running;</p><p class="p_Normal">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">2.</span>Be sure that the PowerBox is switched on;</p><p class="p_Normal" style="text-indent: 8px; margin: 0px 0px 0px 37px;">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">3.</span>Connect the serial (RS-232) cable from the motor drive to a Windows machine, as shown in the following image. If the Windows PC doesn't have a serial port, please use a USB-serial adapter. Please install the cable driver since it will be necessary (it should start automatically; if not, please download it from the related website). </p><p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span style="font-weight: bold;">NOTE. The Windows PC must have an internet connection available for the download of the Phase Tools.</span></p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal" style="margin: 0px 0px 0px 24px;">&nbsp;</p>
<p class="p_Normal" style="text-align: center; margin: 0px 0px 0px 24px;"><img alt="drvsim_phase_connections_win" width="527" height="134" style="margin:0px auto 0px auto;width:527px;height:134px;border:none" src="drvsim_phase_connections_win_zoom67.png"/> </p>
<p class="p_Normal">&nbsp;</p>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span class="f_Heading2">Phase Tools Installation: </span></h2>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">1.</span>Please download the free <span style="font-weight: bold;">Phase Tools V9.7.5 </span>software<span style="font-weight: bold;"> </span>version or newer from the official Phase website: <a href="http://www.phase.eu/phase-tools/" target="_blank" class="weblink">http://www.phase.eu/phase-tools/</a></p><p class="p_Normal">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">2.</span>Launch the executable <span style="font-weight: bold;">PhaseToolsSetup.exe </span>from the folder where the software has been downloaded; </p><p class="p_Normal">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">3.</span>Follow the installation steps: proceed with the suggested installation steps; when a window with download requests appears please answer <span style="font-weight: bold;">Yes</span>; at the window with driver installation request please<span style="font-weight: bold;"> enable the check box</span> in order to download and install the needed drivers;</p><p class="p_Normal">&nbsp;</p>
<p style="text-align: justify; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">4.</span>When the Phase Tools is successfully installed, please restart the Windows PC. </p><p class="p_Normal">&nbsp;</p>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span class="f_Heading2">Firmware Package:</span></h2>
<p class="p_Normal">The motor drive firmware is delivered by VI-grade as a compressed folder, named <span style="font-style: italic;">VI_Steering_wheel_fw_19.2_XXXX_Windows_x64_Setup.zip.</span></p>
<p class="p_Normal">Please unpack the archive into a temporary directory.</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_Normal"><span class="f_Heading2">Upgrade</span></p>
<h2 class="p_Heading2" style="page-break-after: avoid;">Now that you have the software and the files required for the upgrade, please do as follows:</h2>
<p style="text-align: left; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 20px; margin: 12px 0px 5px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">1.</span>Connect the windows pc to the Motor Drive through the serial connection;</p><p style="text-align: left; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 20px; margin: 12px 0px 5px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">2.</span>Run <span class="f_CourierFixed">str_wheel.bat</span><span style="font-style: italic;"> </span>(double click on it) and insert the COM Port number when requested: a list of available COM port connected should be displayed on the command prompt, otherwise it is possible to identify the correct COM port from the device manager. Finally press Enter;</p><h2 class="p_Heading2" style="text-align: center; page-break-after: avoid;"><img alt="drvsim_firmware_02" width="582" height="318" style="margin:0px auto 0px auto;width:582px;height:318px;border:none" src="drvsim_firmware_02.png"/><span class="f_ImageCaption"> <img alt="drvsim_firmware_COM_Port" width="448" height="317" style="margin:0px auto 0px auto;width:448px;height:317px;border:none" src="drvsim_firmware_com_port.png"/></span></h2>
<p style="text-align: left; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 20px; margin: 12px 0px 5px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">3.</span>If the firmware has been uploaded to the Motor Drive with 0 Errors, the script has been run correctly and you can now press any key to close the prompt window. <span style="text-decoration: underline;">The update procedure is not completed yet</span>. If the Drive you are updating is an AxM II Drive, some warnings/error are expected at the first attempt; the script in fact downloads by default the Firmware for AxN Drive, which is different from the one for AxM Drive. Just press enter, and the script will automatically download the correct Firmware to your Drive. Again, if the firmware has been uploaded to the Motor Drive with 0 Errors, the script has been run correctly and you can now press any key to close the prompt window.</p><h2 class="p_Heading2" style="text-align: center; page-break-after: avoid;"><img alt="drvsim_firmware_03" width="417" height="510" style="margin:0px auto 0px auto;width:417px;height:510px;border:none" src="drvsim_firmware_03.png"/></h2>
<h2 class="p_Heading2" style="text-align: center; page-break-after: avoid;"><span class="f_Heading2">&nbsp;</span></h2>
<p style="text-align: left; text-indent: 0px; padding: 0px 0px 0px 20px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial';color:#000000;display:inline-block;width:20px;margin-left:-20px">4.</span>If also a motor for electric active belt is used, the same procedure needs to be done for this Motor Drive. To make it work properly, please create a new folder and unpack <span style="font-style: italic;">VI_Steering_wheel_fw_19.2_XXXX_Windows_x64_Setup.zip </span>in the just created folder. Now, repeat the procedure described above.</p><h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;">For steering system driven by the Linux version of VI-DriveSim, another script needs to be run in order to update the mapping between the Concurrent Machine and the Motor Drive. Instead, for steering system driven by the Windows version of VI-DriveSim, the update procedure is completed.</h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;">On Linux, in the Concurrent Machine, inside the folder /<span class="f_FilesForm">vigrade/vicrt/standalone/scripts</span><span style="font-style: italic;"> </span>of the Concurrent Machine, two files are installed:</h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p style="text-align: left; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span>the script <span class="f_CodeOnNormal">steering_wheel_phase</span><span style="font-style: italic;"> - </span>script to upload the pdo, read/write parameters on the Electric Motor Drive</p><p style="text-align: left; text-indent: 0px; page-break-after: avoid; padding: 0px 0px 0px 13px; margin: 0px 0px 0px 0px;"><span style="font-size:10pt; font-family: 'Arial Unicode MS','Lucida Sans Unicode','Arial';color:#000000;display:inline-block;width:13px;margin-left:-13px">&#8226;</span>the file <span class="f_FilesForm">new_parameters_18_19.json</span><span style="font-style: italic;"> - </span>file with default parameters to be uploaded to the Electric Motor Drive</p><h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;">Open a terminal in the folder /<span class="f_FilesForm">vigrade/vicrt/standalone/scripts</span>, then by running the following command:</h2>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./steering_wheel_phase&nbsp;--help</span></p>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_Normal" style="text-align: left; page-break-after: avoid;">the usage syntax for the script are shown.</p>
<p class="p_Normal" style="text-align: left; page-break-after: avoid;"><span style="font-weight: bold;">NOTE.</span> If an error regarding permission is shown in the terminal, run the following command:</p>
<p class="p_Normal" style="text-align: left; page-break-after: avoid;">&nbsp;</p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">chmod&nbsp;+x&nbsp;steering_wheel_phase</span></p>
<p class="p_Normal" style="text-align: left; page-break-after: avoid;">&nbsp;</p>
<p class="p_Normal">To complete the update procedure, it is necessary to update the pdo and to upload the new firmware parameters written in the .json file, so the following commands must be run:</p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">&nbsp;</span></p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./steering_wheel_phase&nbsp;upload_pdo</span></p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./steering_wheel_phase&nbsp;write_conf&nbsp;new_parameters_18_19.json</span></p>
<h2 class="p_Heading2" style="page-break-after: avoid; margin: 0px 0px 0px 0px;"><span class="f_Heading2">&nbsp;</span></h2>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span style="font-weight: bold;">NOTE. </span>If you have more than one Motor Drive connected to the Concurrent Machine (as an example, if you also have the motor for the active brake connected), after running the terminal command a list of available motor drive is shown, from which you have to select the one relative to the Steering Wheel. In this way, the upload is done on the correct motor drive.</h2>
<h2 class="p_Heading2" style="page-break-after: avoid;">For other usages of the script <span class="f_CodeOnNormal">steering_wheel_phase</span>, please refer to the chapter <a href="drvsim_inst_modifying-firmware-parameters-.htm" class="topiclink">Upgrade and Firmware Parameters</a>.</h2>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span class="f_Heading2">Electric Active Belts</span></h2>
<p class="p_Normal">For Active Belts driven by an electric motor, the Drive for this motor must also be updated, according to the procedure described above. After the firmware update, also the pdo needs o be updated, using the command</p>
<p class="p_Normal">&nbsp;</p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">./steering_wheel_phase&nbsp;upload_pdo</span></p>
<p class="p_CodeOnNormal" style="page-break-inside: avoid;"><span class="f_CodeOnNormal">&nbsp;</span></p>
<p class="p_Normal">from the Concurrent machine. It is not necessary to write the <span class="f_CodeOnNormal">new_parameters_18_19.json</span> in the belts electric motor drive.</p>
<h2 class="p_Heading2" style="page-break-after: avoid;"><span class="f_Heading2">&nbsp;</span></h2>
<p class="p_Normal">&nbsp;</p>

<!--ZOOMSTOP-->
</div></div>
<script type="text/javascript"> 
<!-- 
var lastSlashPos = document.URL.lastIndexOf("/") >
document.URL.lastIndexOf("\\") ? document.URL.lastIndexOf("/") :
document.URL.lastIndexOf("\\");
if( document.URL.substring( lastSlashPos + 1, lastSlashPos + 4
).toLowerCase() != "~hh" )
{
    nsrInit();
}
--> 
</script> 
</body>
</html>
